package com.easyaccount.service;

import com.easyaccount.dao.HotelMapper;
import com.easyaccount.dao.OtherMapper;
import com.easyaccount.model.Hotel;
import com.easyaccount.model.Other;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OtherService {

    @Resource
    private OtherMapper otherMapper;

    public void save(List<Other> others){
        otherMapper.insertBatch(others);
    }
}
